package com.gzz.orchid.context.infrastructure.persistence.entity.fin;

import com.gzz.orchid.context.infrastructure.persistence.AbstractPojo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 账户交易流水表 fin_transaction
 *
 * @author higmd
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class FinTransactionPo extends AbstractPojo {
    private Long id;
    /**
     * 账户编号 account_no
     */
    private String accountNo;
    /**
     * 交易金额 amount
     */
    private BigDecimal amount;
    /**
     * 交易币种 currency
     */
    private String currency;
    /**
     * 交易发生时间 occur_at
     */
    private LocalDateTime occurAt;
    /**
     * 交易类型  type
     */
    private Integer type;
    /**
     * 交易状态  status
     */
    private Integer status;
    /**
     * 交易描述  remark
     */
    private String remark;
    /**
     * 参考编号 reference_no
     */
    private String referenceNo;
}
